package com.ld.security.common.mybatis.anno;

import com.ld.security.common.mybatis.constant.SqlCondition;

import java.lang.annotation.*;

/**
 * 多对一映射
 */
@Target(value = {ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface QueryKey {

    //实体字段名
    //String fieldKey() default "id";

    //SqlCondition condition() default SqlCondition.eq;

    /**
     * 值对象字段
     * @return
     */
    //String value();

    //分组字段
    String[] groupKey() default {};



}
